<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/Index/Project/ProjectRisk/add')}" class="btn btn-block btn-info" data-toggle="modal" data-target="#base_projectrisk_modal">添加风险管控</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">项目风险管控列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>



                                <th>项目名称</th>

                                <th>计划名称</th>

                                <th>风险类型</th>

                                <th>风险详情</th>

                                <th>解决策略</th>

                                <th>状态</th>

                                <th>预计解决时间</th>

                                <th>实际解决时间</th>

                                <th>提交人</th>
                                <th>协助人</th>
                                <th>处理详情</th>
                                <th>备注</th>


                                <th style="width: 350px">操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>

                                <td>{$vo.project["title"]}</td>
                                <td>{$vo.plan_name}</td>
                                <td>{$risk_type[$vo.mtype]?=$risk_type[$vo.mtype]}</td>
                                <td>{$vo.content}</td>
                                <td>{$vo.solution}</td>
                                <td>{$risk_status[$vo.status]?=$risk_status[$vo.status]}</td>
                                <td>{$vo.solve_time}</td>
                                <td>{$vo.real_solve_time}</td>
                                <td>{$user_items[$vo.uid]}</td>

                                <td>
                                    {$vo["assist_username"]}

                                </td>
                                <td> <a href="javascript:;" class="btn label-info" onclick="open_tab('risk_info','{:url(\'/Index/Project/riskinfo/index\',[\'risk_id\'=>$vo.id])}','处理详情')">处理详情</a></td>
                                <td>{$vo.remark}</td>


                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/ProjectRisk/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/Index/Project/ProjectRisk/edit',['id'=>$vo.id])}" class="btn label-info" data-toggle="modal" data-target="#base_projectrisk_modal">编辑</a>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/ProjectRisk/done')}" param="{$vo.id}" class="btn label-danger data_del_items" title="解决风险">解决风险</a>

                                    <a href="javascript:;" data-url="{:url('/Index/Project/ProjectRisk/stop')}" class="btn label-info data_del_items" param="{$vo.id}" title="风险终止">风险终止</a>



                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div>
            </div>
        </div>
</section>
<div class="modal " id="base_projectrisk_modal">
    <div class="modal-dialog ">
        <div class="modal-content "></div>
    </div>
</div>
<script src="/public/admin/js/common.js"></script>